#ifndef SkinDetection_FaceDetector_h
#define SkinDetection_FaceDetector_h

#include <opencv2/opencv.hpp>

class FaceDetector {
public:

    FaceDetector(const char *faceCascadeFilename);
	virtual ~FaceDetector();
    
	CvSeq *detect(const cv::Mat &image, const cv::Size minFaceSize);
    
private:
    CvHaarClassifierCascade* faceCascade;
    CvMemStorage *storage;
    
    /*
	bool isSkin(unsigned char hue, unsigned char sat);
	bool isSkin(unsigned char red, unsigned char green, unsigned char blue);
	void detectSkinFromHsvColorSpace(const cv::Mat & image, cv::Mat & result);
	void detectSkinFromRgbColorSpace(const cv::Mat & image, cv::Mat & result);
    */
};


#endif
